package com.whmall.service.crm.enumeration;

public enum ThirdPlatformFollowStatusEnum {

    /** 取消关注 */
    CANCEL_FOLLOWED(-1),

    /** 未关注 */
    NOT_FOLLOWED(0),

    /** 已关注 */
    FOLLOWED(1);

    private final int value;

    ThirdPlatformFollowStatusEnum(int value) {
        this.value = value;
    }

    public static ThirdPlatformFollowStatusEnum fromValue(int value) {
        for (ThirdPlatformFollowStatusEnum e : values()) {
            if (e.getValue() == value) {
                return e;
            }
        }
        return null;
    }

    public int getValue() {
        return value;
    }

}
